package br.com.opengti.webforum.ws.domain.impl;

import java.util.List;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.ManyToMany;
import javax.persistence.Transient;

import br.com.opengti.webforum.ws.infra.dao.WebForumDomainSupport;

/**
 * @author Felipe Balbino <felipe@opengti.com.br>
 * @author Gabriel Cardelli <cardelli@opengti.com.br>
 */
@Entity
public class Regra {
	
	@Transient private WebForumDomainSupport webForumDomainSupport;
	
	@Id
	@GeneratedValue
	private Integer id;
	
	private String nome;
	
	@ManyToMany
	private List<Papel> papeis;

}
